package com.syni.mdd.yhd.common.all.dto.requestDto;

import com.syni.mdd.yhd.common.all.validationGroup.GroupDelete;
import com.syni.mdd.yhd.common.all.validationGroup.GroupFind;
import com.syni.mdd.yhd.common.all.validationGroup.GroupInsert;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
 * @Description 子菜品VO
 * @Author: cfx
 * @Date: 2019/7/20
 */
@Data
public class BmsDxSubFoodReDto extends BaseReDto implements Serializable {

    @NotNull(groups = GroupFind.class)
    private Integer libraryId;

    @NotNull(groups = GroupFind.class)
    private Integer businessId;

    @NotNull(groups = GroupInsert.class)
    private String foodName;

    @NotNull(groups = GroupInsert.class)
    private String foodPrice;

    @NotNull(groups = GroupDelete.class)
    private Integer subFoodId;



}
